Meta Font Constants
You can use the meta font constants in the font
field of the
structure ControlFontStyleRec
and the Font ID field of a
dialog font table resource to specify the style, size, and font family of the control font. You should use these meta font constants whenever possible because the system font can change, depending upon the current theme. If none of these constants are specified, the control uses the system font unless directed to use a window font by a control variant. The meta font constants are available with Appearance Manager 1.0 and later.
enum {
kControlFontBigSystemFont = -1,
kControlFontSmallSystemFont = -2,
kControlFontSmallBoldSystemFont = -3
};
Constant descriptions
-
kControlFontBigSystemFont
-
Use the system font.
-
kControlFontSmallSystemFont
-
Use the small system font.
-
kControlFontSmallBoldSystemFont
-
Use the small emphasized system font (emphasis applied correctly for locale).
© 1998 Apple Computer, Inc. – (Last Updated 19 Nov 98)